﻿using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VM.DAL;
using VM.IDAL;

namespace VM.BLL
{
    public static class BLLServiceExtensions
    {

        public static IServiceCollection AddBLLServices(this IServiceCollection services)
        {
            // 注册 IDAL 接口和 DAL 实现
            services.AddScoped<ISqlSuggarDAL, SqlSuggarDAL>(); // 替换为实际的接口和实现类
          
            return services;
        }
    }
}
